<?php error_reporting(0) ?>
<input 
    type="hidden" 
    value="<?php echo $item->service_id ?>" 
    id="Id" name="Id"
    />

<form id="_form_edit_panel" name="_form_edit_panel" 
      action="" method="POST" onsubmit="return false;"
      target="integration_asynchronous" autocomplete="off">
    <div class="widget- row-fluid">
		<div class="well form-horizontal" style="border:none">
			<div class="control-group">
				<label class="control-label">Type :</label>
				<div class="controls">
					<select id="service_type" name="service_type" class=" span12">
						<option value="Khóa học cơ bản" >Khóa học cơ bản</option>
						<option value="Khóa học cao cấp" <?php if($item->service_type=='Khóa học cao cấp') echo 'selected=1' ?>>Khóa học cao cấp</option>
					</select>
			   </div>
			</div>
					
						
			<div class="control-group">
				<label class="control-label"><?php echo $langs['title']?> :</label>
				<div class="controls">
					<input type="text" 
						class="span12 validate[required]"
						onblur="AliasTo('#service_title','#service_alias')"
						data-prompt-position="topLeft:-1,-5"
						id="service_title" name="service_title" 
						value="<?php echo quotes_to_entities($item->service_title) ?>"
						/>
			   </div>
			</div>
			
			<div class="control-group">
				<label class="control-label">Alias :</label>
				<div class="controls">
					<input type="text" 
						class="span12 validate[required]"
						data-prompt-position="topLeft:-1,-5"
						id="service_alias" name="service_alias" 
						value="<?php echo quotes_to_entities($item->service_alias) ?>"
						/>
			   </div>
			</div>
			
			<div class="control-group">
				<label class="control-label"><?php echo $langs['thumb']?>  :</label>
				<div class="controls">
					<input type="text" class="uneditable-input span12" 
						id="service_thumb" name="service_thumb" 
						value="<?php echo quotes_to_entities($item->service_thumb) ?>"
						/>
                    <i class="icon-eye-open field-icon" style="right: auto;left: -12px" 
						title="<img width=40 src='<?php echo quotes_to_entities($item->service_thumb) ?>'/>"></i>
					<i class="icon-picture field-icon" 
						onclick="BrowseServer('#service_thumb')"
						title="<?php echo $langs['choosefromserver']?>"></i>
			   </div>
			</div>
			
			<div class="control-group">
                <label class="control-label"><?php echo $langs['desc']?>:</label>
                <div class="controls">
                    <textarea 
                        rows="5" cols="5" 
                        id="service_desc" name="service_desc" class="span12"
                        ><?php echo quotes_to_entities($item->service_desc) ?></textarea>
                </div>
            </div>
			
			
			<div class="control-group">
				<label class="control-label">&nbsp;</label>
				<div class="controls">
					<div class="span6">
						<div><?php echo $langs['position']?></div>
						<input type="number" 
							class="span12"
							id="service_position" name="service_position" 
							value="<?php echo $item->service_position ?>"
							/>
					</div>
					<div class="span6">
						<div><?php echo $langs['status']?></div>
						<select id="service_status" name="service_status" class=" span12">
							<option value="true" <?php if($item->service_status!='false') echo 'selected=1' ?>><?php echo $langs['enable']?></option>
							<option value="false"><?php echo $langs['disable']?></option>
						</select>
						
					</div>
				</div>
			</div>
			<div class="control-group">
                <div>
                    <?php if (!empty($item->service_insert)) echo "Created  : $item->service_insert" ?>
                </div>
                <div>
                    <?php if (!empty($item->service_update)) echo "Modified : $item->service_update" ?>
                </div>
            </div>
			
		</div>
	</div>
</form>